package com.ruoyi.monitor.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.monitor.mapper.BusWaterIntegrationmonitordataYearMapper;
import com.ruoyi.monitor.domain.BusWaterIntegrationmonitordataYear;
import com.ruoyi.monitor.service.IBusWaterIntegrationmonitordataYearService;

/**
 * 手工监测数据（年）Service业务层处理
 * 
 * @author maliang
 * @date 2025-08-16
 */
@Service
public class BusWaterIntegrationmonitordataYearServiceImpl implements IBusWaterIntegrationmonitordataYearService 
{
    @Autowired
    private BusWaterIntegrationmonitordataYearMapper busWaterIntegrationmonitordataYearMapper;

    /**
     * 查询手工监测数据（年）
     * 
     * @param reportid 手工监测数据（年）主键
     * @return 手工监测数据（年）
     */
    @Override
    public BusWaterIntegrationmonitordataYear selectBusWaterIntegrationmonitordataYearByReportid(String reportid)
    {
        return busWaterIntegrationmonitordataYearMapper.selectBusWaterIntegrationmonitordataYearByReportid(reportid);
    }

    /**
     * 查询手工监测数据（年）列表
     * 
     * @param busWaterIntegrationmonitordataYear 手工监测数据（年）
     * @return 手工监测数据（年）
     */
    @Override
    public List<BusWaterIntegrationmonitordataYear> selectBusWaterIntegrationmonitordataYearList(BusWaterIntegrationmonitordataYear busWaterIntegrationmonitordataYear)
    {
        return busWaterIntegrationmonitordataYearMapper.selectBusWaterIntegrationmonitordataYearList(busWaterIntegrationmonitordataYear);
    }

    /**
     * 新增手工监测数据（年）
     * 
     * @param busWaterIntegrationmonitordataYear 手工监测数据（年）
     * @return 结果
     */
    @Override
    public int insertBusWaterIntegrationmonitordataYear(BusWaterIntegrationmonitordataYear busWaterIntegrationmonitordataYear)
    {
        return busWaterIntegrationmonitordataYearMapper.insertBusWaterIntegrationmonitordataYear(busWaterIntegrationmonitordataYear);
    }

    /**
     * 修改手工监测数据（年）
     * 
     * @param busWaterIntegrationmonitordataYear 手工监测数据（年）
     * @return 结果
     */
    @Override
    public int updateBusWaterIntegrationmonitordataYear(BusWaterIntegrationmonitordataYear busWaterIntegrationmonitordataYear)
    {
        return busWaterIntegrationmonitordataYearMapper.updateBusWaterIntegrationmonitordataYear(busWaterIntegrationmonitordataYear);
    }

    /**
     * 批量删除手工监测数据（年）
     * 
     * @param reportids 需要删除的手工监测数据（年）主键
     * @return 结果
     */
    @Override
    public int deleteBusWaterIntegrationmonitordataYearByReportids(String[] reportids)
    {
        return busWaterIntegrationmonitordataYearMapper.deleteBusWaterIntegrationmonitordataYearByReportids(reportids);
    }

    /**
     * 删除手工监测数据（年）信息
     * 
     * @param reportid 手工监测数据（年）主键
     * @return 结果
     */
    @Override
    public int deleteBusWaterIntegrationmonitordataYearByReportid(String reportid)
    {
        return busWaterIntegrationmonitordataYearMapper.deleteBusWaterIntegrationmonitordataYearByReportid(reportid);
    }
}
